import { createSlice } from '@reduxjs/toolkit'
const countSlice = createSlice({
    name: "count",
    initialState: {
        detectFacesFlag: false
    },
    reducers: {
        changeflag(state, action) {
            state.detectFacesFlag = action.payload
        }
    }
})
export const { changeflag } = countSlice.actions
export default countSlice